arr = [1,2,3]
arr1=[]
for(let key in arr){
    arr1[key] = arr[key]
}
console.log(arr1)
